//
//  HCStoreReTableViewCell.m
//  HappyChildren
//
//  Created by WillyZhao on 2017/2/8.
//  Copyright © 2017年 WillyZhao. All rights reserved.
//

#import "HCStoreReTableViewCell.h"

#import "HCFindStoreRecModel.h"

@implementation HCStoreReTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.bgView.backgroundColor = YBKRGBCOLOR(241, 241, 241, 1);
    self.titleLabel.textColor = YBKRGBCOLOR(240, 96, 96, 1);
    
    // Initialization code
}

-(void)setModel:(id)model {
    HCFindStoreRecData *data = (HCFindStoreRecData *)model;
    [self.conIMG sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",data.pic]]];
    self.name.text = [NSString stringWithFormat:@"%@",data.name];
    self.time.text = [NSString stringWithFormat:@"活动时间 %@",data.time];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
